net/http.http2ClientConn.singleUse (field)
7 uses
net/http (current package)
h2_bundle.go#L7381: singleUse bool // whether being used for a single http.Request
h2_bundle.go#L7834: singleUse: singleUse,
h2_bundle.go#L8025: Closing: cc.closing || cc.singleUse || cc.doNotReuse || cc.goAway != nil,
h2_bundle.go#L8047: if cc.singleUse && cc.nextStreamID > 1 {
h2_bundle.go#L8123: cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, nextID-2)
h2_bundle.go#L9212: closeOnIdle := cc.singleUse || cc.doNotReuse || cc.t.disableKeepAlives() || cc.goAway != nil
h2_bundle.go#L9215: cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, cc.nextStreamID-2)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |